const webpack = require('webpack')


module.exports = function override(config, env) {
	// config.plugins.push(new webpack.ProvidePlugin({
	// 	"$":"jquery",
	// 	"window.$":"jquery",
	// }))
	if("development" == config.mode) {
		config.output.filename = "_"+config.output.filename
		config.output.chunkFilename ="_"+config.output.chunkFilename
	}
	// console.log("config:",config)
	// console.log("env:",env)
	// process.exit()
	return config;
}